import http from '@/utils/request'

// CRUD


export const read = () => {
  return http.post('/admin/business/notice/getList')
}
type noticeParams = {
  "_id"?: string,
  "sort": number,
  "title": string,
  "content": string,
  "url": string,
  "status": 0 | 1
}
export const create = (data: noticeParams) => {
  return http.post('/admin/business/notice/addUpdate', data)
}




